package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.UacGroupIpSegment;
import com.csun.cmny.provider.model.vo.ipauth.IpSegmentVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface UacGroupIpSegmentMapper extends Mapper<UacGroupIpSegment> {

    /**
     * select by group id
     *
     * @param groupId   the group id
     *
     * @return  the list.
     */
    List<IpSegmentVo> selectByGroupId(Long groupId);

    /**
     * delete by group id
     *
     * @param groupId   the group id
     *
     * @return  the int.
     */
    Integer deleteByGroupId(Long groupId);
}